﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master1.Master" AutoEventWireup="true" CodeBehind="SanphamTrathat.aspx.cs" Inherits="Trathat.SanphamTrathat" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
<div class="carousel-container">
    <div id="carousel">
        <div class="carousel-feature">
          <a href="#"><img class="carousel-image" alt="Image Caption" src="../images/001.jpg" height="250" width="450"></a>
        </div>
        <div class="carousel-feature">
          <a href="#"><img class="carousel-image" alt="Image Caption" src="../images/002.jpg" width="450" height="249"></a>
        </div>
        <div class="carousel-feature">
          <a href="#"><img class="carousel-image" alt="Image Caption" src="../images/003.jpg" height="249" width="450"></a>
        </div>
        <div class="carousel-feature">
          <a href="#"><img class="carousel-image" alt="Image Caption" src="../images/004.jpg" height="249" width="450"></a>
        </div>
        <div class="carousel-feature">
          <a href="#"><img class="carousel-image" alt="Image Caption" src="../images/005.jpg" height="249" width="450"></a>
        </div>
        <div class="carousel-feature">
          <a href="#"><img class="carousel-image" alt="Image Caption" src="../images/006.jpg" height="249" width="450"></a>
        </div>
      </div>
    
      <div id="carousel-left"><img src="../images/back.png" /></div>
      <div id="carousel-right"><img src="../images/next1.png" /></div>
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style=" padding-left: 10px; padding-bottom: 10px;">
        <asp:Label ID="lblOrder" runat="server" Text="Sản Phẩm" Font-Bold="True" 
            ForeColor="#0066FF"></asp:Label>
        <asp:LinkButton ID="lnkNhom" runat="server" ForeColor="Red" Font-Bold="True"
            onclick="lnkNhom_Click" Font-Underline="False"></asp:LinkButton>
        <asp:Label ID="lblLoai" runat="server" Text="" ForeColor="Red" Font-Bold="True"></asp:Label>
    </div>
    <div id="wrapperSanpham" style="width:730px; background-color:#fff; border: thin solid #c5c5c5;border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; padding-bottom:20px;">   
    <telerik:RadListView ID="RadListView1" Width="100%" AllowPaging="True" runat="server"
                AllowSorting="true" ItemPlaceholderID="ProductsHolder"
                DataKeyNames="ID">
                <LayoutTemplate>
                    <fieldset style="width: 710px; padding-left: 8px; border-color:#F4F4EC; border-style:none;" id="FieldSet1">
                        <asp:Panel ID="ProductsHolder" runat="server" BorderWidth="2" BorderStyle="Solid" BorderColor="#F4F4EC" />
                        <table cellpadding="0" cellspacing="0" width="100%;" style="clear: both; padding-top: 20px;">
                            <tr>
                                <td>
                                    <telerik:RadDataPager ID="RadDataPager1" runat="server" PagedControlID="RadListView1"
                                        PageSize="16">
                                        <Fields>
                                            <telerik:RadDataPagerButtonField FieldType="FirstPrev" />
                                            <telerik:RadDataPagerButtonField FieldType="Numeric" />
                                            <telerik:RadDataPagerButtonField FieldType="NextLast" />
                                            <telerik:RadDataPagerPageSizeField PageSizeText="Page size: " />
                                            
                                        </Fields>
                                    </telerik:RadDataPager>
                                </td>
                            </tr>
                        </table>
                    </fieldset>
                </LayoutTemplate>
                <ItemTemplate>
                    <div style="width: 170px; height: 270px; float:left; padding-left: 7px; padding-top:20px; padding-bottom: 10px;">
                        <div id="blockSanpham" style="width: 170px; height: 240px; ">
                            <a href="ChitietSanphamTrathat.aspx?Loai=<%# Eval("IDLoaisanpham") %>&&ID=<%# Eval("ID") %>"><img src='<%# Eval("Anhdaidien") %>' height="160" width="160" /></a><br />
                            <a href="ChitietSanphamTrathat.aspx?Loai=<%# Eval("IDLoaisanpham") %>&&ID=<%# Eval("ID") %>" style="text-decoration:none; color: #351c18; font-weight:bold;"><%# Eval("Tensanpham") %></a><br />
                            Mã SP: <b style="color: #FF0000"><%# Eval("Masanpham") %></b>
                        </div>
                        <center style="padding-bottom: 25px;">
                            <div class="imgMuahang1"></div>
                        </center>
                    </div>
                </ItemTemplate>
            </telerik:RadListView>
    </div>
</asp:Content>
